package com.yunxin.core.domain.model.channel;

/**
 * @author zero°
 * @since 2023-12-16
 */
public interface ChannelAdvanceChargeRecordRepository {
    /**
     * 保存渠道预收费记录
     * @param channelAdvanceChargeRecord channelAdvanceChargeRecord
     * @return boolean
     */
    boolean saveChannelAdvanceChargeRecord(ChannelAdvanceChargeRecord channelAdvanceChargeRecord);

    /**
     * 更新渠道预收费记录
     * @param channelAdvanceChargeRecord channelAdvanceChargeRecord
     * @return boolean
     */
    boolean updateChannelAdvanceChargeRecord(ChannelAdvanceChargeRecord channelAdvanceChargeRecord);

    /**
     * 根据id获取渠道预收费记录
     * @param id id
     * @return ChannelAdvanceChargeRecord
     */
    ChannelAdvanceChargeRecord getChannelAdvanceChargeRecordById(Long id);
}
